<script type="text/javascript">
$(function(){
    trbgmoves('#d3dff2');
})
</script>
<!--top结束-->
<div class="mian">
    <div class="mian1">
        <div class="mian2">
            <!--left start-->
            <?php $this->load->view('defaults/common/left');?>
            <!--left end-->

            <!--right start-->
            <div class="right">
                <!--breadcrumb start-->
                <div class="righta"><?=$this->breadcrumb->generateHTML();?> </div>
                <!--breadcrumb end-->

                <!-- contents start -->
                <div id="contents">

                    <div id="ct_search" >
                        <form action="<?=blang_url('orders/Iphonebom/')?>" method="post" name="searchform" >
                            <table id="search_tb">
                                <tr>
                                    <td >
                                        <input name="keyword" value="<?=$keyword?>" placeholder="sku/name" />&nbsp;&nbsp;
                                        <input type="submit" name="searchSubmit" value="查询 " />&nbsp;&nbsp;&nbsp;&nbsp;
                                    </td>
                                    <td><a href="<?=$outputUrl?>" ><?=lang('public_dcsj')?></a></td>
                                </tr>
                            </table>
                        </form>
                    </div>

                    <div class="ct_content" >
                        <table class="tbwd800" cellspacing="0">
                            <thead class="table_thead" >
                            <tr>
                                <th width="20%" >名称</th>
                                <th width="10%" >类型</th>
                                <th width="15%" >sku</th>
                                <th width="10%" >内存</th>
                                <th width="10%" >颜色</th>
                                <th width="10%" >是否指纹</th>
                                <th width="10%" >状态</th>
                                <th width="25%" >操作</th>
                            </tr>
                            </thead>
                            <?php if($show_pages):?>
                                <tfoot id="tfootPage">
                                <tr>

                                    <td colspan="8" style="border-left:0;"><?=$show_pages?></td>
                                </tr>
                                </tfoot>
                            <?php endif;?>
                            <tbody>
                            <?php if($dataList): foreach ($dataList as $key=>$rs):?>
                                <tr class="moves">
                                    <td width="20%"><?=$rs['mg_name']?></td>
                                    <td width="10%"><?=$rs['mg_type']?></td>
                                    <td width="15%"><?=$rs['mg_sku']?></td>
                                    <td width="10%"><?=$rs['memory']?></td>
                                    <td width="10%"><?=$rs['color']?></td>
                                    <td width="10%"><?=$rs['lock_val']?></td>
                                    <td width="10%"><?=$rs['status_name']?></td>
                                    <td width="25%" align="center">
                                        <a href="<?=blang_url('orders/Iphonebom/edit/'.$rs['id'].'/'.$page)?>" >修改</a>
                                        <a href="<?=blang_url('orders/Iphonebom/del/'.$rs['id'].'/'.$page)?>" onclick="return confirm('确定要删除吗?')" >删除</a>
                                    </td>
                                </tr>
                            <?php endforeach; else:?>
                                <tr><th colspan="8" height="40">当前页没有更多数据....</th></tr>
                            <?php endif; ?>
                            </tbody>
                        </table>
                    </div>
                </div>
                <!-- contents end -->
            </div>
            <!--right end-->
            <div class="clear"></div>
        </div>
    </div>
</div>

